package com.itboye.hutouben.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/7/19.
 */

public class LuntanIndexPageBean implements Serializable {

    /**
     * banners : [{"url":"","url_type":"0","notes":"","img":"1896","title":"NGA"}]
     * posts_top : [{"id":22,"uid":159,"title":"新帖子","create_time":1500275362,"update_time":1500275362,"views":39,"uname":"nick611212341234","replys_count":17,"replys_direct_count":14,"update_time_desc":"2017-07-17"},{"id":21,"uid":159,"title":"新帖子新帖子","create_time":1500275347,"update_time":1500275347,"views":2,"uname":"nick611212341234","replys_count":0,"replys_direct_count":0,"update_time_desc":"2017-07-17"}]
     * posts_top_count : 5
     * posts_all : [{"id":22,"uid":159,"title":"新帖子","create_time":1500275362,"update_time":1500275362,"content":"积分测试","top":1,"special":0,"reply_limit":0,"views":39,"repeat_id":0,"uname":"nick611212341234","replys_count":17,"replys_direct_count":14,"img":[],"has_like":1,"likes":1,"create_time_desc":"2017-07-17","repeat_info":{"temp":""},"repeat_count":0},{"id":21,"uid":159,"title":"新帖子新帖子","create_time":1500275347,"update_time":1500275347,"content":"积分测试","top":1,"special":0,"reply_limit":0,"views":2,"repeat_id":0,"uname":"nick611212341234","replys_count":0,"replys_direct_count":0,"img":[],"has_like":0,"likes":0,"create_time_desc":"2017-07-17","repeat_info":{"temp":""},"repeat_count":0}]
     * posts_all_count : 19
     */

    private String posts_top_count;
    private String posts_all_count;
    /**
     * url :
     * url_type : 0
     * notes :
     * img : 1896
     * title : NGA
     */

    private List<BannersEntity> banners;
    /**
     * id : 22
     * uid : 159
     * title : 新帖子
     * create_time : 1500275362
     * update_time : 1500275362
     * views : 39
     * uname : nick611212341234
     * replys_count : 17
     * replys_direct_count : 14
     * update_time_desc : 2017-07-17
     */

    private List<PostsTopEntity> posts_top;
    /**
     * id : 22
     * uid : 159
     * title : 新帖子
     * create_time : 1500275362
     * update_time : 1500275362
     * content : 积分测试
     * top : 1
     * special : 0
     * reply_limit : 0
     * views : 39
     * repeat_id : 0
     * uname : nick611212341234
     * replys_count : 17
     * replys_direct_count : 14
     * img : []
     * has_like : 1
     * likes : 1
     * create_time_desc : 2017-07-17
     * repeat_info : {"temp":""}
     * repeat_count : 0
     */

    private List<PostsAllEntity> posts_all;

    public void setPosts_top_count(String posts_top_count) {
        this.posts_top_count = posts_top_count;
    }

    public void setPosts_all_count(String posts_all_count) {
        this.posts_all_count = posts_all_count;
    }

    public void setBanners(List<BannersEntity> banners) {
        this.banners = banners;
    }

    public void setPosts_top(List<PostsTopEntity> posts_top) {
        this.posts_top = posts_top;
    }

    public void setPosts_all(List<PostsAllEntity> posts_all) {
        this.posts_all = posts_all;
    }

    public String getPosts_top_count() {
        return posts_top_count;
    }

    public String getPosts_all_count() {
        return posts_all_count;
    }

    public List<BannersEntity> getBanners() {
        return banners;
    }

    public List<PostsTopEntity> getPosts_top() {
        return posts_top;
    }

    public List<PostsAllEntity> getPosts_all() {
        return posts_all;
    }

    public static class BannersEntity {
        private String url;
        private String url_type;
        private String notes;
        private String img;
        private String title;

        public void setUrl(String url) {
            this.url = url;
        }

        public void setUrl_type(String url_type) {
            this.url_type = url_type;
        }

        public void setNotes(String notes) {
            this.notes = notes;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getUrl() {
            return url;
        }

        public String getUrl_type() {
            return url_type;
        }

        public String getNotes() {
            return notes;
        }

        public String getImg() {
            return img;
        }

        public String getTitle() {
            return title;
        }
    }

    public static class PostsTopEntity {
        private int id;
        private int uid;
        private String title;
        private int create_time;
        private int update_time;
        private int views;
        private String uname;
        private int replys_count;
        private int replys_direct_count;
        private String update_time_desc;

        public void setId(int id) {
            this.id = id;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setCreate_time(int create_time) {
            this.create_time = create_time;
        }

        public void setUpdate_time(int update_time) {
            this.update_time = update_time;
        }

        public void setViews(int views) {
            this.views = views;
        }

        public void setUname(String uname) {
            this.uname = uname;
        }

        public void setReplys_count(int replys_count) {
            this.replys_count = replys_count;
        }

        public void setReplys_direct_count(int replys_direct_count) {
            this.replys_direct_count = replys_direct_count;
        }

        public void setUpdate_time_desc(String update_time_desc) {
            this.update_time_desc = update_time_desc;
        }

        public int getId() {
            return id;
        }

        public int getUid() {
            return uid;
        }

        public String getTitle() {
            return title;
        }

        public int getCreate_time() {
            return create_time;
        }

        public int getUpdate_time() {
            return update_time;
        }

        public int getViews() {
            return views;
        }

        public String getUname() {
            return uname;
        }

        public int getReplys_count() {
            return replys_count;
        }

        public int getReplys_direct_count() {
            return replys_direct_count;
        }

        public String getUpdate_time_desc() {
            return update_time_desc;
        }
    }

    public static class PostsAllEntity {
        private int id;
        private int uid;
        private String title;
        private int create_time;
        private int update_time;
        private String content;
        private int top;
        private int special;
        private int reply_limit;
        private int views;
        private int repeat_id;
        private String uname;
        private int replys_count;
        private int replys_direct_count;
        private int has_like;
        private int likes;
        private String create_time_desc;
        /**
         * temp :
         */

        private RepeatInfoEntity repeat_info;
        private int repeat_count;
        private List<String> img;

        public void setId(int id) {
            this.id = id;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setCreate_time(int create_time) {
            this.create_time = create_time;
        }

        public void setUpdate_time(int update_time) {
            this.update_time = update_time;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public void setTop(int top) {
            this.top = top;
        }

        public void setSpecial(int special) {
            this.special = special;
        }

        public void setReply_limit(int reply_limit) {
            this.reply_limit = reply_limit;
        }

        public void setViews(int views) {
            this.views = views;
        }

        public void setRepeat_id(int repeat_id) {
            this.repeat_id = repeat_id;
        }

        public void setUname(String uname) {
            this.uname = uname;
        }

        public void setReplys_count(int replys_count) {
            this.replys_count = replys_count;
        }

        public void setReplys_direct_count(int replys_direct_count) {
            this.replys_direct_count = replys_direct_count;
        }

        public void setHas_like(int has_like) {
            this.has_like = has_like;
        }

        public void setLikes(int likes) {
            this.likes = likes;
        }

        public void setCreate_time_desc(String create_time_desc) {
            this.create_time_desc = create_time_desc;
        }

        public void setRepeat_info(RepeatInfoEntity repeat_info) {
            this.repeat_info = repeat_info;
        }

        public void setRepeat_count(int repeat_count) {
            this.repeat_count = repeat_count;
        }

        public void setImg(List<String> img) {
            this.img = img;
        }

        public int getId() {
            return id;
        }

        public int getUid() {
            return uid;
        }

        public String getTitle() {
            return title;
        }

        public int getCreate_time() {
            return create_time;
        }

        public int getUpdate_time() {
            return update_time;
        }

        public String getContent() {
            return content;
        }

        public int getTop() {
            return top;
        }

        public int getSpecial() {
            return special;
        }

        public int getReply_limit() {
            return reply_limit;
        }

        public int getViews() {
            return views;
        }

        public int getRepeat_id() {
            return repeat_id;
        }

        public String getUname() {
            return uname;
        }

        public int getReplys_count() {
            return replys_count;
        }

        public int getReplys_direct_count() {
            return replys_direct_count;
        }

        public int getHas_like() {
            return has_like;
        }

        public int getLikes() {
            return likes;
        }

        public String getCreate_time_desc() {
            return create_time_desc;
        }

        public RepeatInfoEntity getRepeat_info() {
            return repeat_info;
        }

        public int getRepeat_count() {
            return repeat_count;
        }

        public List<String> getImg() {
            return img;
        }

        public static class RepeatInfoEntity {
            private String temp;

            public void setTemp(String temp) {
                this.temp = temp;
            }

            public String getTemp() {
                return temp;
            }
        }
    }
}
